package com.hissy.common.design.action.medium;

/**
 * Created by zhangyanfei on 2019/4/11.
 *
 * @author zhangyanfei
 * @date 2019/04/11
 */
public abstract class AbstractMediator {

    protected AbstractColleague abstractColleagueA;

    protected AbstractColleague abstractColleagueB;

    public AbstractMediator(AbstractColleague abstractColleagueA, AbstractColleague abstractColleagueB) {
        this.abstractColleagueA = abstractColleagueA;
        this.abstractColleagueB = abstractColleagueB;
    }

    public abstract void AaffectB();

    public abstract void BaffectA();
}
